home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- import sun.awt.SubRegionShowable;
-
- class Component$FlipSubRegionBufferStrategy extends Component.FlipBufferStrategy implements SubRegionShowable {
- // $FF: synthetic field
- final Component this$0;
-
- protected Component$FlipSubRegionBufferStrategy(Component var1, int var2, BufferCapabilities var3) throws AWTException {
- super(var1, var2, var3);
- this.this$0 = var1;
- }
-
- public void show(int var1, int var2, int var3, int var4) {
- this.show();
- }
-
- public boolean validateAndShow(int var1, int var2, int var3, int var4) {
- this.revalidate(false);
- if (!this.contentsRestored() && !this.contentsLost()) {
- this.show();
- return !this.contentsLost();
- } else {
- return false;
- }
- }
- }
-